package request

type Register struct {
	Username  string `json:"username" binding:"required,max=20"`
	Password  string `json:"password" binding:"required,max=20"`
	Password2 string `json:"password2" binding:"required,max=20"`
}

type Login struct {
	Username string `json:"username" binding:"required,max=20"`
	Password string `json:"password" binding:"required,max=20"`
}

type ResetPassword struct {
	Username    string `json:"username" binding:"required,max=20"`
	OldPassword string `json:"oldpassword" binding:"required,max=20"`
	NewPassword string `json:"newpassword" binding:"required,max=20"`
}
